package com.guoxin.chapter6.singletone7;

public class MyObject {
	private MyObject() {
	}

	private static class MyObjectHandler{
		private static MyObject object = new MyObject();
	}
	
	public static MyObject getInstance(){
		return MyObjectHandler.object;
	}
}
